package sanshi.contect.abstractfactory.abstract01.magic;

import sanshi.contect.abstractfactory.abstract01.AbstractFactory;
import sanshi.contect.abstractfactory.abstract01.Food;
import sanshi.contect.abstractfactory.abstract01.Vehicle;
import sanshi.contect.abstractfactory.abstract01.Weapon;

public class MagicFactory extends AbstractFactory {
    @Override
    protected Food createFood() {
        return new MagicFood();
    }
    @Override
    public Vehicle createVehicle() {
        return new Broom();
    }
    @Override
    public Weapon createWeapon() {
        return new MagicWea();
    }
}
